

    var base = "/zh";

    var staticbase = "https://res.gucci.cn";

    var imgbase = "https://res.gucci.cn/resources/";

    var defaultImg = "";

    var profile = "dev";

    var locale="zh_CN";
    
    var isMobileDevice = "";

    var lightBoxIsTarget = "false";
    
    var lightBoxVersion = "";
    
    var lightBoxLiveTimes = "";
    
    var lightBoxTemplate = "";
    
    var lightBoxRangeType = "";
    
    var lightBoxContentUrl = "";
    
    var saleAssistant="";
    
    var gtagCountryCode = "cn";
    
    var memberWechatOpenId="";
	
	
	
	window.dataLayer = window.dataLayer || [];
	function gtag(){
		dataLayer.push(arguments);
	}
	gtag('js', new Date());
	gtag('config', 'DC-4565108');



var saleAssistant = "";



$(function() {
		loxia.init({
			debug : true,
			region : 'zh_CN'
		});
  	});
	
	
	
	(function(w,d,s,l,i){
		w[l]=w[l]||[];
		w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});
		var f=d.getElementsByTagName(s)[0],
			j=d.createElement(s),
			dl=l!='dataLayer'?'&l='+l:'';
		j.async=true;
		j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;
		f.parentNode.insertBefore(j,f);
	})(window,document,'script','dataLayer','GTM-P75BSX4');
	
	
	
	
	var url =  location.href;
	if(url.indexOf("order/confirm?subOrdinate=") == -1){
	(function(a,b,c,d){
	a[c]=function(){a[c]['ar']=a[c]['ar']||[];a[c]['ar'].push(arguments);};
	var s=b.createElement('script');s.async = 1;s.src='//t.agrant.cn/js/agt.js?ang_tj=true';
	var r=b.getElementsByTagName('script')[0];r.parentNode.insertBefore(s,r);
	})(window,document,'_agtjs','script');
	_agtjs('init','AG_076738_DJTS','gucci.cn');
	_agtjs('trackPv');
	}
	
	
	
	
	var loadFragment = document.createDocumentFragment();
	var sample = document.createElement('div')
	loadFragment.appendChild(sample)
	var live800Fragment = loadFragment
	
	function appendLivechat() {
	  var chatFragment = $('div', live800Fragment)
	  var loaded = chatFragment.attr('loaded')
	  if (!loaded) {
	    chatFragment.attr('loaded', true)
	    var wrap = document.createDocumentFragment();
	    var livejs = document.createElement('script')
	    livejs.src = 'https://gucci.live800.com/live800/chatClient/toolbarStatic.js?companyID=9011&configID=5&codeType=custom&syslanguage=0'
	    livejs.charset = 'UTF-8'
	    livejs.language = 'javascript'
	    wrap.appendChild(livejs)
	    document.head.appendChild(wrap)
	  }
	  if (window.globalChatClient) {
	    try {
	      globalChatClient.openOrClosePopChat()
	      lightBoxClose();
	    } catch (e) {}
	  } else {
	    var loadingTimer = setInterval(function() {
	      if (window.globalChatClient) {
	        clearInterval(loadingTimer)
	        try {
	          globalChatClient.openOrClosePopChat()
	          lightBoxClose();
	        } catch (e) {}
	      }
	    }, 600)
	    // 如果超过5s没反应则清除定时器
	    setTimeout(function() {
	      clearInterval(loadingTimer)
	    }, 5000)
	  }
	}
	var live800_status = getCookie("live800_openWindow") != "open" && getCookie("live800_openWindow") != "min" ? false : true;
	if(live800_status){
		setTimeout(function() {
			appendLivechat()
		}, 1000)
	}
	
	
	
	var iplobserverstart = new Date();
	var iplperformancetiming = 5;
	var iplcustomdim = "www.gucci.cn";
	var iplparcours = "HomePages";
	
	
	
	addGtagEvent(gtagCountryCode,'DC-4565108/visit/home+unique');
	window.isHome=true;
	
	
	
	window.isHome=true;
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	var loadFragment = document.createDocumentFragment();
	var sample = document.createElement('div')
	loadFragment.appendChild(sample)
	var live800Fragment = loadFragment
	
	function appendLivechat() {
	  var chatFragment = $('div', live800Fragment)
	  var loaded = chatFragment.attr('loaded')
	  if (!loaded) {
	    chatFragment.attr('loaded', true)
	    var wrap = document.createDocumentFragment();
	    var livejs = document.createElement('script')
	    livejs.src = 'https://gucci.live800.com/live800/chatClient/toolbarStatic.js?companyID=9011&configID=5&codeType=custom&syslanguage=0'
	    livejs.charset = 'UTF-8'
	    livejs.language = 'javascript'
	    wrap.appendChild(livejs)
	    document.head.appendChild(wrap)
	  }
	  if (window.globalChatClient) {
	    try {
	      globalChatClient.openOrClosePopChat()
	      lightBoxClose();
	    } catch (e) {}
	  } else {
	    var loadingTimer = setInterval(function() {
	      if (window.globalChatClient) {
	        clearInterval(loadingTimer)
	        try {
	          globalChatClient.openOrClosePopChat()
	          lightBoxClose();
	        } catch (e) {}
	      }
	    }, 600)
	    // 如果超过5s没反应则清除定时器
	    setTimeout(function() {
	      clearInterval(loadingTimer)
	    }, 5000)
	  }
	}
	var live800_status = getCookie("live800_openWindow") != "open" && getCookie("live800_openWindow") != "min" ? false : true;
	if(live800_status){
		setTimeout(function() {
			appendLivechat()
		}, 1000)
	}
	
	
	
	
	
	
	
	
	
	
	var base = "/zh";
	
	var staticbase = "https://res.gucci.cn";
	
	var imgbase = "https://res.gucci.cn/resources/";
	
	var defaultImg = "";
	
	var profile = "dev";
	
	var locale="zh_CN";
	
	var isMobileDevice = "";
	
	var lightBoxIsTarget = "false";
	
	var lightBoxVersion = "";
	
	var lightBoxLiveTimes = "";
	
	var lightBoxTemplate = "";
	
	var lightBoxRangeType = "";
	
	var lightBoxContentUrl = "";
	
	var saleAssistant="";
	
	var gtagCountryCode = "cn";
	
	var memberWechatOpenId="";
	window.dataLayer = window.dataLayer || [];
	function gtag(){
		dataLayer.push(arguments);
	}
	gtag('js', new Date());
	gtag('config', 'DC-4565108');
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	